package com.baiye.www.view;

import com.baiye.www.constant.DispatchActionConstant;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: baiye
 * @Date: 2021/07/18/15:51
 * @Description:
 */
public class View {
    private String url;
    private String disPathAction = DispatchActionConstant.FORWARD;

    public View(String url) {
        this.url = url;
    }

    public View(String url,String name,Object value) {
        this.url = url;
        Data data = new Data();
        data.put(name, value);
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getDisPathAction() {
        return disPathAction;
    }

    public void setDisPathAction(String disPathAction) {
        this.disPathAction = disPathAction;
    }
}
